import request from '@/utils/request'

/**
 * GET请求-告警数量统计
 * @returns
 */
export const alarmTotalnum = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/alarmTotalNum',
        params: params
    });
};


/**
 * GET请求-告警等级分析
 * @returns
 */
export const alarmTierAnalysis = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/alarmTierAnalysis',
        params: params
    });
};
/**
 * GET请求-故障等级分析
 * @returns
 */
export const faultTierAnalysis = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/faultTierAnalysis',
        params: params
    });
};


/**
 * GET请求-告警类别数量统计
 * @returns
 */
export const alarmTypeNumCount = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/alarmTypeNumCount',
        params: params
    });
};
/**
 * GET请求-故障类别数量统计
 * @returns
 */
export const faultTypeNumCount = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/faultTypeNumCount',
        params: params
    });
};


/**
 * GET请求-系统告警排行
 * @returns
 */
export const sysAlarmRanking = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/sysAlarmRanking',
        params: params
    });
};
/**
 * GET请求-系统故障排行
 * @returns
 */
export const sysFaultRanking = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/sysFaultRanking',
        params: params
    });
};


/**
 * GET请求-告警趋势
 * @returns
 */
export const alarmTrend = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/alarmTrend',
        params: params
    });
};
/**
 * GET请求-故障趋势
 * @returns
 */
export const faultTrend = (params) => {
    return request({
        method: 'GET',
        url: '/bigscreen/faultalarm/faultTrend',
        params: params
    });
};